<%@ page import="java.util.ArrayList" %>
<%@ page import="com.lanou3g.test.User" %>
<%@ page import="com.lanou3g.pojo.User" %><%--
  Created by IntelliJ IDEA.
  User: dllo
  Date: 18/5/18
  Time: 下午8:33
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%
    ArrayList<User> users = (ArrayList<User>) request.getAttribute("users");
%>
<table>
    <tr>
        <td>用户名</td>
        <td>昵称</td>
        <td>爱好</td>
        <td>性别</td>
    </tr>
    <%for (User user : users) {
       user.getUsername();
        }

    %>

</table>
</body>
</html>
